package com.itheima.mall.pojo;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 积分变化历史记录表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ums_integration_change_history")
public class IntegrationChangeHistory {

  private Long id;
  private Long memberId;
  private DateTime createTime;
  private Integer changeType;       //改变类型：0->增加；1->减少
  private Integer changeCount;      //积分改变数量
  private String operateMan;        //操作人员
  private String operateNote;       //操作备注
  private Integer sourceType;       //积分来源：0->购物；1->管理员修改

}
